Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ladislas/review/hugo/feature/Update all led animations #678

Merged

Conversation

ladislas
Copy link
Member

@ladislas ladislas commented Apr 8, 2022

  • ⚡ (libs): Use EventFlags in LedKit
  • ⚡ (led animation): Update all led animations
  • 🎨 (spikes): Update spikes

@codecov
Copy link

codecov bot commented Apr 8, 2022

Codecov Report

Merging #678 (81ec9e6) into develop (28a1805) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop     #678   +/-   ##
========================================
  Coverage    98.16%   98.16%           
========================================
  Files           92       92           
  Lines         1966     1966           
========================================
  Hits          1930     1930           
  Misses          36       36           
Impacted Files Coverage Δ
libs/LedKit/include/LedKit.h 100.00% <ø> (ø)
libs/LedKit/source/LedKit.cpp 88.88% <ø> (ø)

📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more

@sonarcloud
Copy link

sonarcloud bot commented Apr 8, 2022

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
10.6% 10.6% Duplication

@github-actions
Copy link

github-actions bot commented Apr 8, 2022

File comparision analysis report

🔖 Info

Target Flash Used (%) Flash Available (%) Static RAM (%)
bootloader 145380 (55%) 116764 (44%) 30048 (5%)
os 314032 (20%) 1250640 (79%) 38664 (7%)
Click to show memory sections
| -          |      Hex |     Bytes |  KiB |
|------------|---------:|----------:|-----:|
| Flash      | 0x200000 | 2 097 152 | 2048 |
| SRAM       |  0x80000 |   524 288 |  512 |
| Bootloader |  0x40000 |   262 144 |  256 |
| Header     |   0x1000 |     4 096 |    4 |
| OS         | 0x17E000 | 1 564 672 | 1528 |
| Tail       |   0x1000 |     4 096 |    4 |
| Scratch    |  0x40000 |   262 144 |  256 |

📝 Summary

Click to show summary
  • ✔️ - existing target
  • ✨ - new target
  • ⚰️ - deleted target
  • ✅ - files are the same
  • ❌ - files are different
Target Status .bin .map Total Flash (base/head) Total Flash Δ Static RAM (base/head) Static RAM Δ
LekaOS ✔️ 294920 (14%)
314032 (14%)
📈
19112 (6%)
38256 (7%)
38664 (7%)
📈
408 (1%)
bootloader ✔️ 145380 (6%) ø 30048 (5%) ø
certs_emc_ble_bt_lcd_led_motors ✔️ 258248 (12%) ø 35272 (6%) ø
certs_emc_ble_led_motors ✔️ 191600 (9%) ø 30976 (5%) ø
certs_emc_bt_lcd_qspi_rfid_touch_wifi ✔️ 165248 (7%) ø 28680 (5%) ø
certs_emc_lcd_led_motors ✔️ 91928 (4%) ø 16168 (3%) ø
hardware_motors_test_reduction_and_wheels ✔️ 194032 (9%) ø 30384 (5%) ø
spike_lk_behavior_kit ✔️ 132852 (6%)
151896 (7%)
📈
19044 (14%)
21248 (4%)
21648 (4%)
📈
400 (1%)
spike_lk_ble ✔️ 184576 (8%) ø 30752 (5%) ø
spike_lk_bluetooth ✔️ 91192 (4%) ø 17472 (3%) ø
spike_lk_cg_animations ✔️ 149224 (7%) ø 30416 (5%) ø
spike_lk_color_kit ✔️ 88800 (4%) ø 19624 (3%) ø
spike_lk_command_kit ✔️ 136956 (6%)
156688 (7%)
📈
19732 (14%)
22152 (4%)
22560 (4%)
📈
408 (1%)
spike_lk_coreled ✔️ 88556 (4%) ø 19632 (3%) ø
spike_lk_event_queue ✔️ 84664 (4%) ø 18136 (3%) ø
spike_lk_file_manager_kit ✔️ 127820 (6%) ø 20216 (3%) ø
spike_lk_file_reception ✔️ 331692 (15%) ø 33536 (6%) ø
spike_lk_flash_memory ✔️ 87352 (4%) ø 17512 (3%) ø
spike_lk_lcd ✔️ 155608 (7%) ø 30064 (5%) ø
spike_lk_led ✔️ 88808 (4%) ø 19400 (3%) ø
spike_lk_led_kit ✔️ 93960 (4%)
112812 (5%)
📈
18852 (20%)
20200 (3%)
20608 (3%)
📈
408 (2%)
spike_lk_log_kit ✔️ 92000 (4%) ø 18168 (3%) ø
spike_lk_motors ✔️ 86576 (4%) ø 17552 (3%) ø
spike_lk_reinforcer ✔️ 93400 (4%)
111788 (5%)
📈
18388 (19%)
20200 (3%)
20608 (3%)
📈
408 (2%)
spike_lk_rfid ✔️ 91008 (4%) ø 17472 (3%) ø
spike_lk_sensors_battery ✔️ 87600 (4%) ø 18584 (3%) ø
spike_lk_sensors_light ✔️ 84584 (4%) ø 17512 (3%) ø
spike_lk_sensors_microphone ✔️ 85336 (4%) ø 17512 (3%) ø
spike_lk_sensors_temperature_humidity ✔️ 90896 (4%) ø 17496 (3%) ø
spike_lk_sensors_touch ✔️ 92248 (4%) ø 17632 (3%) ø
spike_lk_serial_number ✔️ 82752 (3%) ø 17648 (3%) ø
spike_lk_ticker_timeout ✔️ 83224 (3%) ø 17592 (3%) ø
spike_lk_update_process_app_base ✔️ 145268 (6%) ø 21352 (4%) ø
spike_lk_update_process_app_update ✔️ 100968 (4%) ø 18472 (3%) ø
spike_lk_wifi ✔️ 131280 (6%) ø 20832 (3%) ø
spike_mbed_blinky ✔️ 57968 (2%) ø 11400 (2%) ø
spike_mbed_watchdog_ticker_vs_thread ✔️ 84688 (4%) ø 18448 (3%) ø
spike_stl_cxxsupport ✔️ 84000 (4%) ø 17536 (3%) ø

🗺️ Map files diff output

Click to show diff list
LekaOS (click to expand)
--- build_artifacts/base_ref-build-enable_log_debug-ON/LekaOS-map.txt	2022-04-08 21:52:24.509282107 +0000
+++ build_artifacts/head_ref-build-enable_log_debug-ON/LekaOS-map.txt	2022-04-08 21:52:24.893292630 +0000
@@ -1,38 +1,38 @@
 | Module                  |           .text |       .data |          .bss |
 |-------------------------|-----------------|-------------|---------------|
-| [fill]                  |       480(+480) |     13(+13) |     141(+141) |
+| [fill]                  |       526(+526) |     13(+13) |     145(+145) |
 | [lib]/BLEKit.a          |     1198(+1198) |       0(+0) |         0(+0) |
 | [lib]/BatteryKit.a      |       324(+324) |       0(+0) |         0(+0) |
-| [lib]/BehaviorKit.a     |       580(+580) |       0(+0) |         0(+0) |
+| [lib]/BehaviorKit.a     |     1228(+1228) |       0(+0) |         0(+0) |
 | [lib]/ColorKit.a        |       864(+864) |       0(+0) |         0(+0) |
-| [lib]/CommandKit.a      |     1544(+1544) |       0(+0) |         0(+0) |
+| [lib]/CommandKit.a      |     2196(+2196) |       0(+0) |         0(+0) |
 | [lib]/CoreBattery.a     |       472(+472) |       0(+0) |         0(+0) |
 | [lib]/CoreEventFlags.a  |         94(+94) |       0(+0) |         0(+0) |
 | [lib]/CoreEventQueue.a  |       116(+116) |       0(+0) |         0(+0) |
 | [lib]/CoreFlashMemory.a |       546(+546) |       0(+0) |         0(+0) |
 | [lib]/CoreMCU.a         |         16(+16) |       0(+0) |         0(+0) |
 | [lib]/CoreMotor.a       |       130(+130) |       0(+0) |         0(+0) |
 | [lib]/CorePwm.a         |         12(+12) |       0(+0) |         0(+0) |
 | [lib]/CoreQSPI.a        |       160(+160) |       0(+0) |         0(+0) |
 | [lib]/CoreSPI.a         |         28(+28) |       0(+0) |         0(+0) |
 | [lib]/CoreTimeout.a     |       204(+204) |       0(+0) |         0(+0) |
 | [lib]/CriticalSection.a |           8(+8) |       0(+0) |         0(+0) |
 | [lib]/FileManagerKit.a  |       812(+812) |       0(+0) |         0(+0) |
 | [lib]/FirmwareKit.a     |       172(+172) |       0(+0) |         0(+0) |
 | [lib]/HelloWorld.a      |         94(+94) |       0(+0) |         0(+0) |
-| [lib]/LedKit.a          |     3640(+3640) |       0(+0) |         0(+0) |
+| [lib]/LedKit.a          |   19198(+19198) |       0(+0) |         0(+0) |
 | [lib]/SerialNumberKit.a |       160(+160) |       0(+0) |         0(+0) |
 | [lib]/Utils.a           |         34(+34) |       0(+0) |         0(+0) |
 | [lib]/bootutil.a        |     1282(+1282) |     12(+12) |     132(+132) |
 | [lib]/c.a               |   42284(+42284) | 2572(+2572) |       97(+97) |
 | [lib]/gcc.a             |     7148(+7148) |       0(+0) |         0(+0) |
 | [lib]/m.a               |       564(+564) |       0(+0) |         0(+0) |
 | [lib]/mbed-os-static.a  | 161378(+161378) |   769(+769) | 19647(+19647) |
 | [lib]/misc              |       188(+188) |       4(+4) |       28(+28) |
 | [lib]/nosys.a           |         32(+32) |       0(+0) |         0(+0) |
 | [lib]/stdc++.a          |     5864(+5864) |       8(+8) |       44(+44) |
-| main.cpp.obj            |   39436(+39436) |   198(+198) | 14287(+14287) |
-| Subtotals               | 269864(+269864) | 3576(+3576) | 34376(+34376) |
-Total Static RAM memory (data + bss): 37952(+37952) bytes
-Total Flash memory (text + data): 273440(+273440) bytes
+| main.cpp.obj            |   40388(+40388) |   526(+526) | 14363(+14363) |
+| Subtotals               | 287720(+287720) | 3904(+3904) | 34456(+34456) |
+Total Static RAM memory (data + bss): 38360(+38360) bytes
+Total Flash memory (text + data): 291624(+291624) bytes
 
Flash used: 314032&nbsp;(14%) / total: 2097152
SRAM used: 38664&nbsp;(7%) / total: 524288
spike_lk_behavior_kit (click to expand)
--- build_artifacts/base_ref-build-enable_log_debug-ON/spike_lk_behavior_kit-map.txt	2022-04-08 21:52:28.733397859 +0000
+++ build_artifacts/head_ref-build-enable_log_debug-ON/spike_lk_behavior_kit-map.txt	2022-04-08 21:52:29.009405423 +0000
@@ -1,24 +1,24 @@
 | Module                  |           .text |       .data |          .bss |
 |-------------------------|-----------------|-------------|---------------|
-| [fill]                  |       236(+236) |       4(+4) |       41(+41) |
-| [lib]/BehaviorKit.a     |       560(+560) |       0(+0) |         0(+0) |
+| [fill]                  |       234(+234) |       4(+4) |       37(+37) |
+| [lib]/BehaviorKit.a     |     1208(+1208) |       0(+0) |         0(+0) |
 | [lib]/ColorKit.a        |       864(+864) |       0(+0) |         0(+0) |
 | [lib]/CoreEventFlags.a  |         94(+94) |       0(+0) |         0(+0) |
 | [lib]/CoreMotor.a       |       130(+130) |       0(+0) |         0(+0) |
 | [lib]/CorePwm.a         |         12(+12) |       0(+0) |         0(+0) |
 | [lib]/CoreSPI.a         |         28(+28) |       0(+0) |         0(+0) |
 | [lib]/CriticalSection.a |           8(+8) |       0(+0) |         0(+0) |
 | [lib]/HelloWorld.a      |         94(+94) |       0(+0) |         0(+0) |
-| [lib]/LedKit.a          |     3672(+3672) |       0(+0) |         0(+0) |
+| [lib]/LedKit.a          |   19230(+19230) |       0(+0) |         0(+0) |
 | [lib]/c.a               |   37068(+37068) | 2572(+2572) |       97(+97) |
 | [lib]/gcc.a             |     7148(+7148) |       0(+0) |         0(+0) |
 | [lib]/m.a               |       564(+564) |       0(+0) |         0(+0) |
 | [lib]/mbed-os-static.a  |   57200(+57200) |   460(+460) | 10305(+10305) |
 | [lib]/misc              |       188(+188) |       4(+4) |       28(+28) |
 | [lib]/nosys.a           |         32(+32) |       0(+0) |         0(+0) |
-| [lib]/stdc++.a          |     5424(+5424) |       8(+8) |       44(+44) |
-| main.cpp.obj            |     5062(+5062) |     96(+96) |   7293(+7293) |
-| Subtotals               | 118384(+118384) | 3144(+3144) | 17808(+17808) |
-Total Static RAM memory (data + bss): 20952(+20952) bytes
-Total Flash memory (text + data): 121528(+121528) bytes
+| [lib]/stdc++.a          |     5864(+5864) |       8(+8) |       44(+44) |
+| main.cpp.obj            |     6018(+6018) |   424(+424) |   7369(+7369) |
+| Subtotals               | 135984(+135984) | 3472(+3472) | 17880(+17880) |
+Total Static RAM memory (data + bss): 21352(+21352) bytes
+Total Flash memory (text + data): 139456(+139456) bytes
 
Flash used: 151896&nbsp;(7%) / total: 2097152
SRAM used: 21648&nbsp;(4%) / total: 524288
spike_lk_command_kit (click to expand)
--- build_artifacts/base_ref-build-enable_log_debug-ON/spike_lk_command_kit-map.txt	2022-04-08 21:52:31.525474551 +0000
+++ build_artifacts/head_ref-build-enable_log_debug-ON/spike_lk_command_kit-map.txt	2022-04-08 21:52:31.797482141 +0000
@@ -1,26 +1,26 @@
 | Module                  |           .text |       .data |          .bss |
 |-------------------------|-----------------|-------------|---------------|
-| [fill]                  |       188(+188) |       6(+6) |       37(+37) |
-| [lib]/BehaviorKit.a     |       546(+546) |       0(+0) |         0(+0) |
+| [fill]                  |       234(+234) |       6(+6) |       41(+41) |
+| [lib]/BehaviorKit.a     |     1194(+1194) |       0(+0) |         0(+0) |
 | [lib]/ColorKit.a        |       864(+864) |       0(+0) |         0(+0) |
-| [lib]/CommandKit.a      |     1544(+1544) |       0(+0) |         0(+0) |
+| [lib]/CommandKit.a      |     2196(+2196) |       0(+0) |         0(+0) |
 | [lib]/CoreEventFlags.a  |         94(+94) |       0(+0) |         0(+0) |
 | [lib]/CoreMotor.a       |       130(+130) |       0(+0) |         0(+0) |
 | [lib]/CorePwm.a         |         12(+12) |       0(+0) |         0(+0) |
 | [lib]/CoreSPI.a         |         28(+28) |       0(+0) |         0(+0) |
 | [lib]/CriticalSection.a |           8(+8) |       0(+0) |         0(+0) |
 | [lib]/HelloWorld.a      |         94(+94) |       0(+0) |         0(+0) |
-| [lib]/LedKit.a          |     3046(+3046) |       0(+0) |         0(+0) |
+| [lib]/LedKit.a          |   18604(+18604) |       0(+0) |         0(+0) |
 | [lib]/Utils.a           |         34(+34) |       0(+0) |         0(+0) |
 | [lib]/c.a               |   37068(+37068) | 2572(+2572) |       97(+97) |
 | [lib]/gcc.a             |     7148(+7148) |       0(+0) |         0(+0) |
 | [lib]/m.a               |       564(+564) |       0(+0) |         0(+0) |
 | [lib]/mbed-os-static.a  |   57200(+57200) |   460(+460) | 10305(+10305) |
 | [lib]/misc              |       188(+188) |       4(+4) |       28(+28) |
 | [lib]/nosys.a           |         32(+32) |       0(+0) |         0(+0) |
-| [lib]/stdc++.a          |     5424(+5424) |       8(+8) |       44(+44) |
-| main.cpp.obj            |     7436(+7436) |   366(+366) |   7921(+7921) |
-| Subtotals               | 121648(+121648) | 3416(+3416) | 18432(+18432) |
-Total Static RAM memory (data + bss): 21848(+21848) bytes
-Total Flash memory (text + data): 125064(+125064) bytes
+| [lib]/stdc++.a          |     5864(+5864) |       8(+8) |       44(+44) |
+| main.cpp.obj            |     8396(+8396) |   694(+694) |   7997(+7997) |
+| Subtotals               | 139952(+139952) | 3744(+3744) | 18512(+18512) |
+Total Static RAM memory (data + bss): 22256(+22256) bytes
+Total Flash memory (text + data): 143696(+143696) bytes
 
Flash used: 156688&nbsp;(7%) / total: 2097152
SRAM used: 22560&nbsp;(4%) / total: 524288
spike_lk_led_kit (click to expand)
--- build_artifacts/base_ref-build-enable_log_debug-ON/spike_lk_led_kit-map.txt	2022-04-08 21:52:35.745592310 +0000
+++ build_artifacts/head_ref-build-enable_log_debug-ON/spike_lk_led_kit-map.txt	2022-04-08 21:52:36.001599454 +0000
@@ -1,21 +1,21 @@
-| Module                  |         .text |       .data |          .bss |
-|-------------------------|---------------|-------------|---------------|
-| [fill]                  |     192(+192) |       8(+8) |       24(+24) |
-| [lib]/ColorKit.a        |     864(+864) |       0(+0) |         0(+0) |
-| [lib]/CoreEventFlags.a  |       94(+94) |       0(+0) |         0(+0) |
-| [lib]/CoreSPI.a         |       28(+28) |       0(+0) |         0(+0) |
-| [lib]/CriticalSection.a |         8(+8) |       0(+0) |         0(+0) |
-| [lib]/HelloWorld.a      |       94(+94) |       0(+0) |         0(+0) |
-| [lib]/LedKit.a          |   3672(+3672) |       0(+0) |         0(+0) |
-| [lib]/c.a               | 26112(+26112) | 2472(+2472) |       58(+58) |
-| [lib]/gcc.a             |   7148(+7148) |       0(+0) |         0(+0) |
-| [lib]/m.a               |     564(+564) |       0(+0) |         0(+0) |
-| [lib]/mbed-os-static.a  | 34250(+34250) |   444(+444) |   9990(+9990) |
-| [lib]/misc              |     188(+188) |       4(+4) |       28(+28) |
-| [lib]/nosys.a           |       32(+32) |       0(+0) |         0(+0) |
-| [lib]/stdc++.a          |   5424(+5424) |       8(+8) |       44(+44) |
-| main.cpp.obj            |   4550(+4550) |     96(+96) |   6728(+6728) |
-| Subtotals               | 83220(+83220) | 3032(+3032) | 16872(+16872) |
-Total Static RAM memory (data + bss): 19904(+19904) bytes
-Total Flash memory (text + data): 86252(+86252) bytes
+| Module                  |           .text |       .data |          .bss |
+|-------------------------|-----------------|-------------|---------------|
+| [fill]                  |       210(+210) |       8(+8) |       28(+28) |
+| [lib]/ColorKit.a        |       864(+864) |       0(+0) |         0(+0) |
+| [lib]/CoreEventFlags.a  |         94(+94) |       0(+0) |         0(+0) |
+| [lib]/CoreSPI.a         |         28(+28) |       0(+0) |         0(+0) |
+| [lib]/CriticalSection.a |           8(+8) |       0(+0) |         0(+0) |
+| [lib]/HelloWorld.a      |         94(+94) |       0(+0) |         0(+0) |
+| [lib]/LedKit.a          |   19230(+19230) |       0(+0) |         0(+0) |
+| [lib]/c.a               |   26112(+26112) | 2472(+2472) |       58(+58) |
+| [lib]/gcc.a             |     7148(+7148) |       0(+0) |         0(+0) |
+| [lib]/m.a               |       564(+564) |       0(+0) |         0(+0) |
+| [lib]/mbed-os-static.a  |   34250(+34250) |   444(+444) |   9990(+9990) |
+| [lib]/misc              |       188(+188) |       4(+4) |       28(+28) |
+| [lib]/nosys.a           |         32(+32) |       0(+0) |         0(+0) |
+| [lib]/stdc++.a          |     5864(+5864) |       8(+8) |       44(+44) |
+| main.cpp.obj            |     5942(+5942) |   424(+424) |   6804(+6804) |
+| Subtotals               | 100628(+100628) | 3360(+3360) | 16952(+16952) |
+Total Static RAM memory (data + bss): 20312(+20312) bytes
+Total Flash memory (text + data): 103988(+103988) bytes
 
Flash used: 112812&nbsp;(5%) / total: 2097152
SRAM used: 20608&nbsp;(3%) / total: 524288
spike_lk_reinforcer (click to expand)
--- build_artifacts/base_ref-build-enable_log_debug-ON/spike_lk_reinforcer-map.txt	2022-04-08 21:52:37.245634167 +0000
+++ build_artifacts/head_ref-build-enable_log_debug-ON/spike_lk_reinforcer-map.txt	2022-04-08 21:52:37.485640865 +0000
@@ -1,21 +1,21 @@
 | Module                  |         .text |       .data |          .bss |
 |-------------------------|---------------|-------------|---------------|
-| [fill]                  |     198(+198) |       8(+8) |       24(+24) |
+| [fill]                  |     208(+208) |       8(+8) |       28(+28) |
 | [lib]/ColorKit.a        |     864(+864) |       0(+0) |         0(+0) |
 | [lib]/CoreEventFlags.a  |       94(+94) |       0(+0) |         0(+0) |
 | [lib]/CoreSPI.a         |       28(+28) |       0(+0) |         0(+0) |
 | [lib]/CriticalSection.a |         8(+8) |       0(+0) |         0(+0) |
 | [lib]/HelloWorld.a      |       94(+94) |       0(+0) |         0(+0) |
-| [lib]/LedKit.a          |   3046(+3046) |       0(+0) |         0(+0) |
+| [lib]/LedKit.a          | 18604(+18604) |       0(+0) |         0(+0) |
 | [lib]/c.a               | 26112(+26112) | 2472(+2472) |       58(+58) |
 | [lib]/gcc.a             |   7148(+7148) |       0(+0) |         0(+0) |
 | [lib]/m.a               |     564(+564) |       0(+0) |         0(+0) |
 | [lib]/mbed-os-static.a  | 34250(+34250) |   444(+444) |   9990(+9990) |
 | [lib]/misc              |     188(+188) |       4(+4) |       28(+28) |
 | [lib]/nosys.a           |       32(+32) |       0(+0) |         0(+0) |
-| [lib]/stdc++.a          |   5424(+5424) |       8(+8) |       44(+44) |
-| main.cpp.obj            |   4594(+4594) |     96(+96) |   6728(+6728) |
-| Subtotals               | 82644(+82644) | 3032(+3032) | 16872(+16872) |
-Total Static RAM memory (data + bss): 19904(+19904) bytes
-Total Flash memory (text + data): 85676(+85676) bytes
+| [lib]/stdc++.a          |   5864(+5864) |       8(+8) |       44(+44) |
+| main.cpp.obj            |   5546(+5546) |   424(+424) |   6804(+6804) |
+| Subtotals               | 99604(+99604) | 3360(+3360) | 16952(+16952) |
+Total Static RAM memory (data + bss): 20312(+20312) bytes
+Total Flash memory (text + data): 102964(+102964) bytes
 
Flash used: 111788&nbsp;(5%) / total: 2097152
SRAM used: 20608&nbsp;(3%) / total: 524288

@github-actions
Copy link

github-actions bot commented Apr 8, 2022

File comparision analysis report

🔖 Info

Target Flash Used (%) Flash Available (%) Static RAM (%)
bootloader 145380 (55%) 116764 (44%) 30048 (5%)
os 294420 (18%) 1270252 (81%) 32344 (6%)
Click to show memory sections
| -          |      Hex |     Bytes |  KiB |
|------------|---------:|----------:|-----:|
| Flash      | 0x200000 | 2 097 152 | 2048 |
| SRAM       |  0x80000 |   524 288 |  512 |
| Bootloader |  0x40000 |   262 144 |  256 |
| Header     |   0x1000 |     4 096 |    4 |
| OS         | 0x17E000 | 1 564 672 | 1528 |
| Tail       |   0x1000 |     4 096 |    4 |
| Scratch    |  0x40000 |   262 144 |  256 |

📝 Summary

Click to show summary
  • ✔️ - existing target
  • ✨ - new target
  • ⚰️ - deleted target
  • ✅ - files are the same
  • ❌ - files are different
Target Status .bin .map Total Flash (base/head) Total Flash Δ Static RAM (base/head) Static RAM Δ
LekaOS ✔️ 275324 (13%)
294420 (14%)
📈
19096 (6%)
31936 (6%)
32344 (6%)
📈
408 (1%)
bootloader ✔️ 145380 (6%) ø 30048 (5%) ø
certs_emc_ble_bt_lcd_led_motors ✔️ 250688 (11%) ø 29240 (5%) ø
certs_emc_ble_led_motors ✔️ 174568 (8%) ø 24952 (4%) ø
certs_emc_bt_lcd_qspi_rfid_touch_wifi ✔️ 148840 (7%) ø 22528 (4%) ø
certs_emc_lcd_led_motors ✔️ 91928 (4%) ø 16168 (3%) ø
hardware_motors_test_reduction_and_wheels ✔️ 177960 (8%) ø 24360 (4%) ø
spike_lk_behavior_kit ✔️ 113372 (5%)
142528 (6%)
📈
29156 (25%)
15256 (2%)
15704 (2%)
📈
448 (2%)
spike_lk_ble ✔️ 174892 (8%) ø 24672 (4%) ø
spike_lk_bluetooth ✔️ 73256 (3%) ø 11448 (2%) ø
spike_lk_cg_animations ✔️ 141016 (6%) ø 24416 (4%) ø
spike_lk_color_kit ✔️ 65584 (3%) ø 13624 (2%) ø
spike_lk_command_kit ✔️ 114996 (5%)
144856 (6%)
📈
29860 (25%)
15896 (3%)
16360 (3%)
📈
464 (2%)
spike_lk_coreled ✔️ 76164 (3%) ø 13688 (2%) ø
spike_lk_event_queue ✔️ 74736 (3%) ø 12072 (2%) ø
spike_lk_file_manager_kit ✔️ 103604 (4%) ø 14048 (2%) ø
spike_lk_file_reception ✔️ 326984 (15%) ø 27576 (5%) ø
spike_lk_flash_memory ✔️ 63880 (3%) ø 11448 (2%) ø
spike_lk_lcd ✔️ 142664 (6%) ø 23992 (4%) ø
spike_lk_led ✔️ 65744 (3%) ø 13392 (2%) ø
spike_lk_led_kit ✔️ 73488 (3%)
103156 (4%)
📈
29668 (40%)
14192 (2%)
14664 (2%)
📈
472 (3%)
spike_lk_log_kit ✔️ 68528 (3%) ø 11912 (2%) ø
spike_lk_motors ✔️ 62528 (2%) ø 11488 (2%) ø
spike_lk_reinforcer ✔️ 72656 (3%)
101932 (4%)
📈
29276 (40%)
14192 (2%)
14664 (2%)
📈
472 (3%)
spike_lk_rfid ✔️ 73072 (3%) ø 11448 (2%) ø
spike_lk_sensors_battery ✔️ 78196 (3%) ø 12568 (2%) ø
spike_lk_sensors_light ✔️ 60056 (2%) ø 11440 (2%) ø
spike_lk_sensors_microphone ✔️ 72496 (3%) ø 11504 (2%) ø
spike_lk_sensors_temperature_humidity ✔️ 66968 (3%) ø 11424 (2%) ø
spike_lk_sensors_touch ✔️ 68600 (3%) ø 11432 (2%) ø
spike_lk_serial_number ✔️ 58904 (2%) ø 11464 (2%) ø
spike_lk_ticker_timeout ✔️ 69052 (3%) ø 11632 (2%) ø
spike_lk_update_process_app_base ✔️ 122788 (5%) ø 15288 (2%) ø
spike_lk_update_process_app_update ✔️ 77632 (3%) ø 12352 (2%) ø
spike_lk_wifi ✔️ 116392 (5%) ø 14808 (2%) ø
spike_mbed_blinky ✔️ 57968 (2%) ø 11400 (2%) ø
spike_mbed_watchdog_ticker_vs_thread ✔️ 63208 (3%) ø 12448 (2%) ø
spike_stl_cxxsupport ✔️ 58456 (2%) ø 11400 (2%) ø

🗺️ Map files diff output

Click to show diff list
LekaOS (click to expand)
--- build_artifacts/base_ref-build-enable_log_debug-OFF/LekaOS-map.txt	2022-04-08 21:53:37.002769398 +0000
+++ build_artifacts/head_ref-build-enable_log_debug-OFF/LekaOS-map.txt	2022-04-08 21:53:37.358773822 +0000
@@ -1,38 +1,38 @@
 | Module                  |           .text |       .data |          .bss |
 |-------------------------|-----------------|-------------|---------------|
-| [fill]                  |       478(+478) |     13(+13) |     137(+137) |
+| [fill]                  |       512(+512) |     13(+13) |     141(+141) |
 | [lib]/BLEKit.a          |     1198(+1198) |       0(+0) |         0(+0) |
 | [lib]/BatteryKit.a      |       324(+324) |       0(+0) |         0(+0) |
-| [lib]/BehaviorKit.a     |       580(+580) |       0(+0) |         0(+0) |
+| [lib]/BehaviorKit.a     |     1228(+1228) |       0(+0) |         0(+0) |
 | [lib]/ColorKit.a        |       864(+864) |       0(+0) |         0(+0) |
-| [lib]/CommandKit.a      |     1048(+1048) |       0(+0) |         0(+0) |
+| [lib]/CommandKit.a      |     1696(+1696) |       0(+0) |         0(+0) |
 | [lib]/CoreBattery.a     |       472(+472) |       0(+0) |         0(+0) |
 | [lib]/CoreEventFlags.a  |         94(+94) |       0(+0) |         0(+0) |
 | [lib]/CoreEventQueue.a  |       116(+116) |       0(+0) |         0(+0) |
 | [lib]/CoreFlashMemory.a |       546(+546) |       0(+0) |         0(+0) |
 | [lib]/CoreMCU.a         |         16(+16) |       0(+0) |         0(+0) |
 | [lib]/CoreMotor.a       |       130(+130) |       0(+0) |         0(+0) |
 | [lib]/CorePwm.a         |         12(+12) |       0(+0) |         0(+0) |
 | [lib]/CoreQSPI.a        |       160(+160) |       0(+0) |         0(+0) |
 | [lib]/CoreSPI.a         |         28(+28) |       0(+0) |         0(+0) |
 | [lib]/CoreTimeout.a     |       204(+204) |       0(+0) |         0(+0) |
 | [lib]/CriticalSection.a |           8(+8) |       0(+0) |         0(+0) |
 | [lib]/FileManagerKit.a  |       812(+812) |       0(+0) |         0(+0) |
 | [lib]/FirmwareKit.a     |       172(+172) |       0(+0) |         0(+0) |
 | [lib]/HelloWorld.a      |         94(+94) |       0(+0) |         0(+0) |
-| [lib]/LedKit.a          |     3640(+3640) |       0(+0) |         0(+0) |
+| [lib]/LedKit.a          |   19198(+19198) |       0(+0) |         0(+0) |
 | [lib]/SerialNumberKit.a |       160(+160) |       0(+0) |         0(+0) |
 | [lib]/Utils.a           |         34(+34) |       0(+0) |         0(+0) |
 | [lib]/bootutil.a        |     1282(+1282) |     12(+12) |     132(+132) |
 | [lib]/c.a               |   42396(+42396) | 2572(+2572) |       97(+97) |
 | [lib]/gcc.a             |     7148(+7148) |       0(+0) |         0(+0) |
 | [lib]/m.a               |       204(+204) |       0(+0) |         0(+0) |
 | [lib]/mbed-os-static.a  | 157854(+157854) |   769(+769) | 19611(+19611) |
 | [lib]/misc              |       188(+188) |       4(+4) |       28(+28) |
 | [lib]/nosys.a           |         32(+32) |       0(+0) |         0(+0) |
 | [lib]/stdc++.a          |     5444(+5444) |       8(+8) |       44(+44) |
-| main.cpp.obj            |   26382(+26382) |   198(+198) |   8007(+8007) |
-| Subtotals               | 252120(+252120) | 3576(+3576) | 28056(+28056) |
-Total Static RAM memory (data + bss): 31632(+31632) bytes
-Total Flash memory (text + data): 255696(+255696) bytes
+| main.cpp.obj            |   27350(+27350) |   526(+526) |   8083(+8083) |
+| Subtotals               | 269976(+269976) | 3904(+3904) | 28136(+28136) |
+Total Static RAM memory (data + bss): 32040(+32040) bytes
+Total Flash memory (text + data): 273880(+273880) bytes
 
Flash used: 294420&nbsp;(14%) / total: 2097152
SRAM used: 32344&nbsp;(6%) / total: 524288
spike_lk_behavior_kit (click to expand)
--- build_artifacts/base_ref-build-enable_log_debug-OFF/spike_lk_behavior_kit-map.txt	2022-04-08 21:53:40.962818604 +0000
+++ build_artifacts/head_ref-build-enable_log_debug-OFF/spike_lk_behavior_kit-map.txt	2022-04-08 21:53:41.214821736 +0000
@@ -1,23 +1,23 @@
 | Module                 |           .text |       .data |          .bss |
 |------------------------|-----------------|-------------|---------------|
-| [fill]                 |       198(+198) |       4(+4) |       41(+41) |
-| [lib]/BehaviorKit.a    |       560(+560) |       0(+0) |         0(+0) |
+| [fill]                 |       228(+228) |       4(+4) |       33(+33) |
+| [lib]/BehaviorKit.a    |     1208(+1208) |       0(+0) |         0(+0) |
 | [lib]/ColorKit.a       |       864(+864) |       0(+0) |         0(+0) |
 | [lib]/CoreEventFlags.a |         94(+94) |       0(+0) |         0(+0) |
 | [lib]/CoreMotor.a      |       130(+130) |       0(+0) |         0(+0) |
 | [lib]/CorePwm.a        |         12(+12) |       0(+0) |         0(+0) |
 | [lib]/CoreSPI.a        |         28(+28) |       0(+0) |         0(+0) |
 | [lib]/HelloWorld.a     |         94(+94) |       0(+0) |         0(+0) |
-| [lib]/LedKit.a         |     3672(+3672) |       0(+0) |         0(+0) |
+| [lib]/LedKit.a         |   19230(+19230) |       0(+0) |         0(+0) |
 | [lib]/c.a              |   37044(+37044) | 2572(+2572) |       97(+97) |
-| [lib]/gcc.a            |     3340(+3340) |       0(+0) |         0(+0) |
+| [lib]/gcc.a            |     7148(+7148) |       0(+0) |         0(+0) |
 | [lib]/m.a              |       204(+204) |       0(+0) |         0(+0) |
-| [lib]/mbed-os-static.a |   52260(+52260) |   460(+460) | 10261(+10261) |
+| [lib]/mbed-os-static.a |   52284(+52284) |   460(+460) | 10261(+10261) |
 | [lib]/misc             |       188(+188) |       4(+4) |       28(+28) |
 | [lib]/nosys.a          |         32(+32) |       0(+0) |         0(+0) |
-| [lib]/stdc++.a         |           0(+0) |       0(+0) |         0(+0) |
-| main.cpp.obj           |     3068(+3068) |     96(+96) |   1397(+1397) |
-| Subtotals              | 101788(+101788) | 3136(+3136) | 11824(+11824) |
-Total Static RAM memory (data + bss): 14960(+14960) bytes
-Total Flash memory (text + data): 104924(+104924) bytes
+| [lib]/stdc++.a         |     5356(+5356) |       8(+8) |       44(+44) |
+| main.cpp.obj           |     4016(+4016) |   424(+424) |   1473(+1473) |
+| Subtotals              | 128160(+128160) | 3472(+3472) | 11936(+11936) |
+Total Static RAM memory (data + bss): 15408(+15408) bytes
+Total Flash memory (text + data): 131632(+131632) bytes
 
Flash used: 142528&nbsp;(6%) / total: 2097152
SRAM used: 15704&nbsp;(2%) / total: 524288
spike_lk_command_kit (click to expand)
--- build_artifacts/base_ref-build-enable_log_debug-OFF/spike_lk_command_kit-map.txt	2022-04-08 21:53:43.450849510 +0000
+++ build_artifacts/head_ref-build-enable_log_debug-OFF/spike_lk_command_kit-map.txt	2022-04-08 21:53:43.698852587 +0000
@@ -1,25 +1,26 @@
 | Module                  |           .text |       .data |          .bss |
 |-------------------------|-----------------|-------------|---------------|
-| [fill]                  |       154(+154) |       6(+6) |       37(+37) |
-| [lib]/BehaviorKit.a     |       546(+546) |       0(+0) |         0(+0) |
+| [fill]                  |       236(+236) |       6(+6) |       37(+37) |
+| [lib]/BehaviorKit.a     |     1194(+1194) |       0(+0) |         0(+0) |
 | [lib]/ColorKit.a        |       864(+864) |       0(+0) |         0(+0) |
-| [lib]/CommandKit.a      |     1048(+1048) |       0(+0) |         0(+0) |
+| [lib]/CommandKit.a      |     1696(+1696) |       0(+0) |         0(+0) |
 | [lib]/CoreEventFlags.a  |         94(+94) |       0(+0) |         0(+0) |
 | [lib]/CoreMotor.a       |       130(+130) |       0(+0) |         0(+0) |
 | [lib]/CorePwm.a         |         12(+12) |       0(+0) |         0(+0) |
 | [lib]/CoreSPI.a         |         28(+28) |       0(+0) |         0(+0) |
 | [lib]/CriticalSection.a |           8(+8) |       0(+0) |         0(+0) |
 | [lib]/HelloWorld.a      |         94(+94) |       0(+0) |         0(+0) |
-| [lib]/LedKit.a          |     3046(+3046) |       0(+0) |         0(+0) |
+| [lib]/LedKit.a          |   18604(+18604) |       0(+0) |         0(+0) |
 | [lib]/Utils.a           |         34(+34) |       0(+0) |         0(+0) |
 | [lib]/c.a               |   37044(+37044) | 2572(+2572) |       97(+97) |
-| [lib]/gcc.a             |     3340(+3340) |       0(+0) |         0(+0) |
+| [lib]/gcc.a             |     7148(+7148) |       0(+0) |         0(+0) |
 | [lib]/m.a               |       204(+204) |       0(+0) |         0(+0) |
-| [lib]/mbed-os-static.a  |   52000(+52000) |   460(+460) | 10261(+10261) |
+| [lib]/mbed-os-static.a  |   52024(+52024) |   460(+460) | 10261(+10261) |
 | [lib]/misc              |       188(+188) |       4(+4) |       28(+28) |
 | [lib]/nosys.a           |         32(+32) |       0(+0) |         0(+0) |
-| main.cpp.obj            |     4074(+4074) |   366(+366) |   1769(+1769) |
-| Subtotals               | 102940(+102940) | 3408(+3408) | 12192(+12192) |
-Total Static RAM memory (data + bss): 15600(+15600) bytes
-Total Flash memory (text + data): 106348(+106348) bytes
+| [lib]/stdc++.a          |     5356(+5356) |       8(+8) |       44(+44) |
+| main.cpp.obj            |     5026(+5026) |   694(+694) |   1845(+1845) |
+| Subtotals               | 130016(+130016) | 3744(+3744) | 12312(+12312) |
+Total Static RAM memory (data + bss): 16056(+16056) bytes
+Total Flash memory (text + data): 133760(+133760) bytes
 
Flash used: 144856&nbsp;(6%) / total: 2097152
SRAM used: 16360&nbsp;(3%) / total: 524288
spike_lk_led_kit (click to expand)
--- build_artifacts/base_ref-build-enable_log_debug-OFF/spike_lk_led_kit-map.txt	2022-04-08 21:53:47.298897248 +0000
+++ build_artifacts/head_ref-build-enable_log_debug-OFF/spike_lk_led_kit-map.txt	2022-04-08 21:53:47.522900027 +0000
@@ -1,20 +1,20 @@
 | Module                 |         .text |       .data |          .bss |
 |------------------------|---------------|-------------|---------------|
-| [fill]                 |     130(+130) |       8(+8) |       16(+16) |
+| [fill]                 |     164(+164) |       8(+8) |       24(+24) |
 | [lib]/ColorKit.a       |     864(+864) |       0(+0) |         0(+0) |
 | [lib]/CoreEventFlags.a |       94(+94) |       0(+0) |         0(+0) |
 | [lib]/CoreSPI.a        |       28(+28) |       0(+0) |         0(+0) |
 | [lib]/HelloWorld.a     |       94(+94) |       0(+0) |         0(+0) |
-| [lib]/LedKit.a         |   3672(+3672) |       0(+0) |         0(+0) |
-| [lib]/c.a              | 25356(+25356) | 2472(+2472) |       58(+58) |
-| [lib]/gcc.a            |   3116(+3116) |       0(+0) |         0(+0) |
+| [lib]/LedKit.a         | 19230(+19230) |       0(+0) |         0(+0) |
+| [lib]/c.a              | 26088(+26088) | 2472(+2472) |       58(+58) |
+| [lib]/gcc.a            |   6924(+6924) |       0(+0) |         0(+0) |
 | [lib]/m.a              |     204(+204) |       0(+0) |         0(+0) |
-| [lib]/mbed-os-static.a | 29310(+29310) |   444(+444) |   9946(+9946) |
+| [lib]/mbed-os-static.a | 29334(+29334) |   444(+444) |   9946(+9946) |
 | [lib]/misc             |     188(+188) |       4(+4) |       28(+28) |
 | [lib]/nosys.a          |       32(+32) |       0(+0) |         0(+0) |
-| [lib]/stdc++.a         |         0(+0) |       0(+0) |         0(+0) |
-| main.cpp.obj           |   2544(+2544) |     96(+96) |     832(+832) |
-| Subtotals              | 65632(+65632) | 3024(+3024) | 10880(+10880) |
-Total Static RAM memory (data + bss): 13904(+13904) bytes
-Total Flash memory (text + data): 68656(+68656) bytes
+| [lib]/stdc++.a         |   5356(+5356) |       8(+8) |       44(+44) |
+| main.cpp.obj           |   3916(+3916) |   424(+424) |     908(+908) |
+| Subtotals              | 92516(+92516) | 3360(+3360) | 11008(+11008) |
+Total Static RAM memory (data + bss): 14368(+14368) bytes
+Total Flash memory (text + data): 95876(+95876) bytes
 
Flash used: 103156&nbsp;(4%) / total: 2097152
SRAM used: 14664&nbsp;(2%) / total: 524288
spike_lk_reinforcer (click to expand)
--- build_artifacts/base_ref-build-enable_log_debug-OFF/spike_lk_reinforcer-map.txt	2022-04-08 21:53:48.598913375 +0000
+++ build_artifacts/head_ref-build-enable_log_debug-OFF/spike_lk_reinforcer-map.txt	2022-04-08 21:53:48.810916005 +0000
@@ -1,19 +1,20 @@
 | Module                 |         .text |       .data |          .bss |
 |------------------------|---------------|-------------|---------------|
-| [fill]                 |     140(+140) |       8(+8) |       16(+16) |
+| [fill]                 |     202(+202) |       8(+8) |       24(+24) |
 | [lib]/ColorKit.a       |     864(+864) |       0(+0) |         0(+0) |
 | [lib]/CoreEventFlags.a |       94(+94) |       0(+0) |         0(+0) |
 | [lib]/CoreSPI.a        |       28(+28) |       0(+0) |         0(+0) |
 | [lib]/HelloWorld.a     |       94(+94) |       0(+0) |         0(+0) |
-| [lib]/LedKit.a         |   3046(+3046) |       0(+0) |         0(+0) |
-| [lib]/c.a              | 25356(+25356) | 2472(+2472) |       58(+58) |
-| [lib]/gcc.a            |   3116(+3116) |       0(+0) |         0(+0) |
+| [lib]/LedKit.a         | 18604(+18604) |       0(+0) |         0(+0) |
+| [lib]/c.a              | 26088(+26088) | 2472(+2472) |       58(+58) |
+| [lib]/gcc.a            |   6924(+6924) |       0(+0) |         0(+0) |
 | [lib]/m.a              |     204(+204) |       0(+0) |         0(+0) |
-| [lib]/mbed-os-static.a | 29050(+29050) |   444(+444) |   9946(+9946) |
+| [lib]/mbed-os-static.a | 29074(+29074) |   444(+444) |   9946(+9946) |
 | [lib]/misc             |     188(+188) |       4(+4) |       28(+28) |
 | [lib]/nosys.a          |       32(+32) |       0(+0) |         0(+0) |
-| main.cpp.obj           |   2588(+2588) |     96(+96) |     832(+832) |
-| Subtotals              | 64800(+64800) | 3024(+3024) | 10880(+10880) |
-Total Static RAM memory (data + bss): 13904(+13904) bytes
-Total Flash memory (text + data): 67824(+67824) bytes
+| [lib]/stdc++.a         |   5356(+5356) |       8(+8) |       44(+44) |
+| main.cpp.obj           |   3548(+3548) |   424(+424) |     908(+908) |
+| Subtotals              | 91300(+91300) | 3360(+3360) | 11008(+11008) |
+Total Static RAM memory (data + bss): 14368(+14368) bytes
+Total Flash memory (text + data): 94660(+94660) bytes
 
Flash used: 101932&nbsp;(4%) / total: 2097152
SRAM used: 14664&nbsp;(2%) / total: 524288

@ladislas ladislas merged commit 87f3803 into develop Apr 10, 2022
@ladislas ladislas deleted the ladislas/review/hugo/feature/Update-all-led-animations branch April 10, 2022 12:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants